|
|
|
|
OnDragLeave Method, SftTree Class |
Raises the DragLeave event.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Protected Overrides Sub OnDragLeave( ByVal e As EventArgs ) |
C# |
protected override void OnDragLeave( EventArgs e ); |
C++ |
protected: virtual void OnDragLeave( EventArgs^ e ); |
e
The event data.
Comments
The OnDragLeave method raises the DragLeave event.
Raising an event invokes the event handler through a delegate.
The OnDragLeave method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
When overriding OnDragLeave in a derived class, make sure to call the base class's OnDragLeave method so that registered delegates receive the event.